<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<head>
   <link rel="stylesheet" type="text/css" href="/css/style_member.css" />
<title>会员注册-笔飞美术作品</title>
<%@include file="../common/js.jsp"%>
<%@include file="../common/jspcommon.jsp"%>
<%@include file="../common/css.jsp"%>
</head>
<body>
<div id="box">
   <%@include file="../common/header.jsp"%>
    <div id="main_div">
        <div class="site_map"><a href="../index.html">首页</a> 》会员注册</div>
        
        <div id="member_div_2">
            <table cellpadding="0" cellspacing="0" class="member_table">
                <tr>
                    <td class="td_1" valign="top">
                        <div class="left_nav">
                       		<ul>
									<li><a href="/member.htm">控制面板</a>
									</li>
									<li><a href="/memberInfo.htm">个人资料</a>
									</li>
									<li><a href="/mOrders.htm">我的订单</a>
									</li>
									<li><a href="/mMade.htm">我的定制</a>
									</li>
									<li><a href="/mActivity.htm">我的活动</a>
									</li>
									<li><a href="/mHas.htm">关注收藏欣赏</a>
									</li>
									<li><a href="/mComment.htm">评论管理</a>
									</li>
									<li class="cur"><a href="/mPay.htm">支付保证金</a>
									</li>
								</ul>
                        </div>
                    </td>
                    <td class="td_2" valign="top">
                        <div>
                            <table cellpadding="10" cellspacing="0" class="member_table2">
                                <tr class="td1">
                                    <td colspan="2"><span class="style5"><b>申请退还保证金</b></span><span class="style6 fr" style="padding-right:20px;"><b>* 为必填项</b></span></td>
                                </tr>
                                <tr class="td2">
                                    <td style="width:150px; text-align:right;">*开户人姓名：</td>
                                    <td align="left"><input type="text" class="input1" name="bankMemberName" id="bankMemberName" /></td>
                                </tr>
                                <tr class="td2">
                                    <td style="text-align:right;">*账号卡号：</td>
                                    <td align="left"><input type="text" class="input1" name="bankAccount" id="bankAccount"/></td>
                                </tr>
                                <tr class="td2">
                                    <td style="text-align:right;">*银行名称：</td>
                                    <td align="left">
		                                <select name="bankName" tabindex="10" id="bankName">
			                                <option value="0">--请选择银行--</option>
			                                <option value="1">中国银行</option>
			                                <option value="2">中国建设银行</option>
			                                <option value="3">中国农业银行</option>
			                                <option value="4">中国工商银行</option>
		                                </select>
                                    </td>
                                </tr>
                                <tr class="td2">
                                    <td style="text-align:right;">*开户人所在城市：</td>
                                    <td align="left">
		                                <select name="show_data" tabindex="10" id="province"> </select>
		                                <select name="show_data" tabindex="10" id="city"> </select>
                                    </td>
                                </tr>
                                <tr class="td2">
                                    <td style="text-align:right;">备注：</td>
                                    <td align="left">
                                        <textarea id="remark" cols="20" rows="2" class="input2"></textarea></td>
                                </tr>
                                <tr class="td2">
                                    <td></td>
                                    <td align="left"><input type="button" name="Submit" value="" class="submit btn_special btn_submit" onclick="takeSecurity()"/></td>
                                </tr>
                            </table>
                        </div>
                        
                    </td>
                </tr>
            </table>
        </div>
        <%@include file="../common/footer.jsp"%>
    </div>
</div>
<script type="text/javascript">
initProvince('province', 'city','');
function takeSecurity(){
		
		$.post("/insertMemberSecurity.htm", {
			bankMemberName: $("#bankMemberName").val(),
			bankAccount:$("#bankAccount").val(),
			bankName:$("#bankName").find("option:selected").text(),
			bankCity: $("#city").find("option:selected").text(),
			bankProvince:$("#province").find("option:selected").text(),
			remark:$("#remark").val(),
			securityMoney:$("#securityMoney").val()
		},function(data){
			if(data=="success"){
				alert("申请成功，等待审核~");
			}
			if(data=="error"){
				alert("提现出错了，很抱歉，请稍后。。。");
			}
		});
}
</script>
</body>
</html>
